package resolver

// This file will be automatically regenerated based on the schema, any resolver implementations
// will be copied through when generating and any unknown code will be moved to the end.

import (
	"context"
	"fmt"
	"github.com/dgryski/trifles/uuid"
	"gql-t4/system/graph/model"
)

func (r *mutationResolver) CreateEnterprise(ctx context.Context, input model.CreateEnterpriseParam) (*model.Enterprise, error) {
	panic(fmt.Errorf("not implemented"))
}

func (r *mutationResolver) UpdateEnterprise(ctx context.Context, input model.UpdateEnterpriseParam) (*model.Enterprise, error) {
	panic(fmt.Errorf("not implemented"))
}

func (r *mutationResolver) RemoveEnterprise(ctx context.Context, input model.RemoveEnterpriseParam) (*model.Enterprise, error) {
	panic(fmt.Errorf("not implemented"))
}

func (r *queryResolver) Enterprise(ctx context.Context, query model.EnterpriseQuery) (*model.Enterprise, error) {
	return &model.Enterprise{EnterpriseID: uuid.UUIDv4()}, nil
}

func (r *queryResolver) EnterpriseList(ctx context.Context, query *model.EnterpriseListQuery) (*model.EnterpriseConnection, error) {
	panic(fmt.Errorf("not implemented"))
}

func (r *queryResolver) EnterpriseDistrictStatistics(ctx context.Context, query *model.EnterpriseDistrictStatisticsQuery) ([]*model.EnterpriseDistrictStatistics, error) {
	panic(fmt.Errorf("not implemented"))
}
